require("lint").linters_by_ft = {
    sh = { "shellcheck" },
    zsh = { "zsh" },
}

vim.api.nvim_create_autocmd({ "BufReadPost", "BufWritePost", "InsertLeave" }, {
    group = vim.api.nvim_create_augroup("lint_augroup", { clear = true }),
    callback = function()
        require("lint").try_lint()
    end,
})
